home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Jun 89 / V0037-Char2Pixel Problem-Jun89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1003 b   |  30 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  UK0016       to MACDTS
  2.  
  3. Item forwarded  by  STINE1       to RICHARDSON7
  4.  
  5. Item    4882721                         14-June-89        12:58
  6.  
  7. From:   UK0016                          Icon Technology UK
  8.  
  9. To:     MACAPP.TECH$                    MACAPP Tech
  10.  
  11. Sub:    Char2Pixel Problem
  12.  
  13. Help!
  14.  
  15. I am using 2.0B5 on a 2MB MacII with system 6.0.2 and am having a strange
  16. problem with the script manager function Char2Pixel. If I select 15pt Geneva
  17. with plain style and call Char2Pixel(theText, 6, 0, 6, 1) where 'theText' is a
  18. pointer to the 6 characters consisting of word "This" followed by space and
  19. return, then I get a crazy value back (thirteen thousand and something!). Its
  20. OK if I call it with the same string minus the space. If I remove 14pt Geneva
  21. from the set of fonts, its OK. If I use System 4.1 its OK. If I try it on a
  22. Plus its OK. Its also OK if I use New York or Helvetica (that also have 14pt
  23. screen fonts installed).
  24.  
  25. Has anyone any ideas?
  26.  
  27. In hope,
  28. Keith Lander
  29.  
  30.